<template>
	<div>
		<router-view></router-view>
		<van-tabbar v-model="active" fied route>
			<van-tabbar-item class="tabbar" to="/home">首页</van-tabbar-item>
			<van-tabbar-item class="tabbar" to="/kitchen">名厨</van-tabbar-item>
			<van-tabbar-item class="tabbar" to="/community">社区</van-tabbar-item>
			<van-tabbar-item class="tabbar" to="/city">集市</van-tabbar-item>
			<van-tabbar-item class="tabbar" to="/my">我的</van-tabbar-item>
		</van-tabbar>
	</div>
</template>

<script>
	export default ({
		name: 'Homepage',
		data() {
			return {
				active: 0
			}
		}
	})
</script>

<style>
	.tabbar {
		font-size: 18px
	}
</style>
